package com.jr.pojo;

import java.sql.Timestamp;
import java.util.Date;

public class Departments {
    private Integer departmentId; //部门ID
    private String name; //部门名称
    private String description; //部门描述

    private Timestamp createdAt; //创建时间
    private Timestamp updatedAt; //更新时间

    public Departments() {
    }

    public Departments(Integer departmentId, String name, String description,
                       Timestamp createdAt, Timestamp updatedAt) {
        this.departmentId = departmentId;
        this.name = name;
        this.description = description;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }

    public Timestamp getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Timestamp updatedAt) {
        this.updatedAt = updatedAt;
    }
}
